<?php
class YouNet_Storage_File implements YouNet_Storage_Interface 
{	
	public function __construct($options = array())
	{
	}
	
	public function put($filename, $data, $privacy = self::PRIVACY_PUBLIC)
	{		
		return file_put_contents($filename, $data);
	}
	
	public function get($filename)
	{		
		return file_get_contents($filename);
	}
	
	public function remove($filename)
	{		
		return unlink($filename);
	}
    
    public function copy($source, $dest, $privacy = self::PRIVACY_PUBLIC)
	{		
		return copy($source, $dest);
	}
	
	public function copyToLocal($source, $dest)
	{	
		return $this->copy($source, $dest);
	}
}